<template>
  <div class="video-container">
      <!-- 关闭图标 -->
      <div class="video-close">
        <span class="el-icon-close" ></span>
      </div>
      <!-- 视频区域 -->
      <div class="video-preview">
          <video src=""></video>
      </div>
  </div>
</template>

<script>
export default {
  name: 'VideoDialog'
}
</script>

<style lang="less" scoped>
html,body,#app {
  width: 100%;
  height: 100%;
}
.video-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1005;
  .video-close {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 8%;
    left: 50%;
    border-radius: 50%;
    transform: translateX(-50%);
    background-color: red;
    .el-icon-close {
        font-size: 30px;
        color: #ffffff;
        text-align: center;
        line-height: 50px;
    }

  }
  .video-preview {
    position: absolute;
    width: 700px;
    height: 450px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
  }
}
</style>